package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 线路管理表 线路管理表
 *
 * @author WeiZiDong
 */
@Table(name = "`sms_line_manage`")
@Data
@ApiModel("线路管理表线路管理表")
public class SmsLineManage implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "记录ID", example = "String")
    private String id;
    @Column(name = "`user_id`")
    @ApiModelProperty(value = "用户ID", example = "String")
    private String userId;
    @Column(name = "`business_id`")
    @ApiModelProperty(value = "商家ID", example = "String")
    private String businessId;
    @Column(name = "`start_province`")
    @ApiModelProperty(value = "出发省份", example = "String")
    private String startProvince;
    @Column(name = "`start_city`")
    @ApiModelProperty(value = "出发城市", example = "String")
    private String startCity;
    @Column(name = "`start_region`")
    @ApiModelProperty(value = "出发区域", example = "String")
    private String startRegion;
    @Column(name = "`arrive_province`")
    @ApiModelProperty(value = "目的省份", example = "String")
    private String arriveProvince;
    @Column(name = "`arrive_city`")
    @ApiModelProperty(value = "目的城市", example = "String")
    private String arriveCity;
    @Column(name = "`arrive_region`")
    @ApiModelProperty(value = "目的区域", example = "String")
    private String arriveRegion;
    @Column(name = "`transport_type`")
    @ApiModelProperty(value = "运输类型1-汽运；2-空运；3-快递", example = "1")
    private Integer transportType;
    @Column(name = "`charging_type`")
    @ApiModelProperty(value = "计费方式1-斤；2-件", example = "1")
    private Integer chargingType;
    @Column(name = "`charging_price`")
    @ApiModelProperty(value = "计费单价", example = "1")
    private Integer chargingPrice;
    @Column(name = "`line_status`")
    @ApiModelProperty(value = "状态0-停止运输；1-正常运输", example = "1")
    private Integer lineStatus;
    @Column(name = "`delete_status`")
    @ApiModelProperty(value = "删除状态0-&gt;未删除；1-&gt;已删除", example = "1")
    private Integer deleteStatus;
    @Column(name = "`revision`")
    @ApiModelProperty(value = "乐观锁", example = "1")
    private Integer revision;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
